//
//  IntegralRootTableViewCell.m
//  CPICMobileServiceApp
//
//  Created by sinosoft on 13-3-5.
//  Copyright (c) 2013年 lizhiwei. All rights reserved.
//

#import "IntegralRootTableViewCell.h"

@implementation IntegralRootTableViewCell
@synthesize lblTime,lblIntegralType,lblIntegral,lblIntegralTag,lblIntegralSourceTag,lblIntegralSource,imgStatus;

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        lblTime=[[[UILabel alloc]initWithFrame:CGRectMake(7, 4, 140, 21)]autorelease];
        lblIntegralType=[[[UILabel alloc]initWithFrame:CGRectMake(155, 3, 68, 21)]autorelease];
        lblIntegral=[[[UILabel alloc]initWithFrame:CGRectMake(230, 3, 35, 21)]autorelease];
        lblIntegralTag=[[[UILabel alloc]initWithFrame:CGRectMake(259, 4, 42, 21)]autorelease];
        lblIntegralSourceTag=[[[UILabel alloc]initWithFrame:CGRectMake(7, 30, 68, 21)]autorelease];
        lblIntegralSource=[[[UILabel alloc]initWithFrame:CGRectMake(83, 31, 154, 21)]autorelease];
        imgStatus=[[[UIImageView alloc]initWithFrame:CGRectMake(254, 28, 30, 27)]autorelease];
        
        [lblTime setBackgroundColor:[UIColor clearColor]];
        [lblIntegralType setBackgroundColor:[UIColor clearColor]];
        [lblIntegral setBackgroundColor:[UIColor clearColor]];
        [lblIntegralTag setBackgroundColor:[UIColor clearColor]];
        [lblIntegralSourceTag setBackgroundColor:[UIColor clearColor]];
        [lblIntegralSource setBackgroundColor:[UIColor clearColor]];
        [imgStatus setBackgroundColor:[UIColor clearColor]];
        
        lblTime.font=[UIFont boldSystemFontOfSize:14.0];
        lblIntegralType.font=[UIFont systemFontOfSize:14.0];
        lblIntegral.font=[UIFont boldSystemFontOfSize:17.0];
        lblIntegralTag.font=[UIFont systemFontOfSize:14.0];
        lblIntegralSourceTag.font=[UIFont systemFontOfSize:14.0];
        lblIntegralSource.font=[UIFont boldSystemFontOfSize:14.0];
        
        lblIntegralTag.text=@"分";
        lblIntegralSourceTag.text=@"积分来源";
        
        [self.contentView addSubview:lblTime];
        [self.contentView addSubview:lblIntegralType];
        [self.contentView addSubview:lblIntegral];
        [self.contentView addSubview:lblIntegralTag];
        [self.contentView addSubview:lblIntegralSourceTag];
        [self.contentView addSubview:lblIntegralSource];
        [self.contentView addSubview:imgStatus];
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
